{if isset($smarty.session.user) && isset($rech)}
	{ if $allow_add==false }
		<img src="{$URL_PATH}images/croix_ok.png" /> Ajout&eacute; &agrave; mon profil
	{else}
		{if isset($smarty.get.reload)}
			<a href="{$URL_PATH}membres&action=ajout&typ={$smarty.get.typ}&typid={$smarty.get.typid}">
				<img src="{$URL_PATH}images/visu-fan.png" /> Ajouter &agrave; mon profil
			</a>
		{else}
			{ if $rempli }
				{ if $smarty.get.typ=='cit'}
					<a href="{$URL_PATH}ajax/profil.php?table={$table}&action=add&fromtyp={$smarty.get.typ}&fromtypid={$smarty.get.typid}&height=600&width=820" class="thickbox">
						<img src="{$URL_PATH}images/visu-fan.png" /> Ajouter &agrave; mon profil
					</a>
				{else}
					<a href="{$URL_PATH}ajax/profil.php?table={$table}&action=add&fromtyp={$smarty.get.typ}&fromtypid={$smarty.get.typid}&height=500&width=620" class="thickbox">
						<img src="{$URL_PATH}images/visu-fan.png" /> Ajouter &agrave; mon profil
					</a>
				{/if}
			{else}
				<a href="{$URL_PATH}membres&action=ajout&typ={$smarty.get.typ}&typid={$smarty.get.typid}">
					<img src="{$URL_PATH}images/visu-fan.png" /> Ajouter &agrave; mon profil
				</a>
			{/if}
		{/if}
	{/if}
{/if}